import {
  post
} from "../../http.js";
let api = process.env.VUE_APP_API;
if (process.env.VUE_APP_Mock == "true") {
  api = "/mock/";
}

/**
 * 按需引入
 */

// 1.获取任务列表
export const list = async (p) =>
  await post(api + "/witness/weeon/buss/warninginfo/page", p);

export const dcllist = async (p) =>
  await post(api + "/witness/weeon/buss/warninginfo/dclpage", p);

export const ycllist = async (p) =>
  await post(api + "/witness/weeon/buss/warninginfo/yclpage", p);

export const hulue = async (p) =>
  await post(api + "/witness/weeon/buss/warninginfo/hulue", p);

export const chuli = async (p) =>
  await post(api + "/witness/weeon/buss/warninginfo/chuli", p);
